package cn.sciento.farm.devicemanager.service;

import cn.sciento.farm.devicemanager.dao.model.AlarmForm;

import java.util.List;

public interface AlarmService {
    int create(AlarmForm alarmForm);

    int updateById(AlarmForm alarmForm);

    int deleteById(Long id);

    List<AlarmForm> getByAreaId(int areaId);

    AlarmForm getById(Long id);

    List<AlarmForm> getByCollectionId(Long id);
}
